<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript" src="js/jquery.itextclear.js"></script>
<script type="text/javascript" src="${ctx}/js/global_util.js"></script>
<script type="text/javascript">
	$(document)
			.ready(
					function() {
						$(
								'input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea',
								'.form').iTextClear();
					});
</script>
<!-- jQplot CSS -->

<link rel="stylesheet" media="screen" href="${ctx}/css/Tree.css" />
<!-- jQplot CSS END -->

<!-- DATATABLES CSS -->
<link rel="stylesheet" media="screen" href="lib/datatables/css/vpad.css" />
<script type="text/javascript"
	src="lib/datatables/js/jquery.dataTables.js"></script>
<!-- DATATABLES CSS END -->

<h1 class="page-title">${listTitle}</h1>
<div class="container_12 clearfix leading">
	<section class="tabs grid_12 leading">
		<%@include file="/WEB-INF/pages/common/common_orgtab_award.jsp"%>
		<!--control layer -->

		<!--control layer end-->
		<div class="clear"></div>
	</section>
</div>
<script type="text/javascript">
	<!--
		function loadControlPage(url,orgId) {
			//检测是否需要加载额外内容
			loadListContent('/exam/awarditem_list.xhtml',orgId); //加载奖励 
			loadListContent('/exam/amerceitem_list.xhtml',orgId); //加载惩罚 
		}

		function loadListContent(url, organizationId) {
			var data = {
				"organizationId" : organizationId
			};
			//refreshListContent(url, data);
			$.ajax(url, {
				type : "POST",
				//data:{"organizationId":organizationId},
				data : data,
				dataType : "html",
				cache : false,
				success : function(a) {
					var obj = null;
					if(url.indexOf('awarditem_list') > -1){
	                	obj = $("#list_content_award_" + organizationId);
	            	}else{
	            		obj = $("#list_content_amerce_" + organizationId);
	            	}
					obj.html("");
					obj.append(a);
				},
				complete : function() {
				}
			});
		}
	//-->
	
		
	
	

	
</script>